package Scrap;

import java.util.Scanner;

public class demo15_organism_prob {
	
	static String str1 = "";
	static String str2 = "";
	static String str3 = "";
	static boolean char_found = false;

	static void create_array(String str) {

		for (int i = 0; i < str.length(); i++) {
			char c = str.charAt(i);
			int I = c;

			if ((char_found == false) && ((I >= 48 && I <= 57) || I == 32)) {
				str1 = str1 + c;

			}
			else if ((I == 35 || I == 64)) {
				str2 = str2 + c;
				char_found = true;
				
			} else if ((char_found == true) && (I >= 48 && I <= 57)) {

				str3 = str3 + c;

			}

		}
//using the str1 to create a multidimensional array original_array
		String[] sarr = str1.split(" ");

		for (int m = 0; m < sarr.length; m++) {

			String srow = sarr[0];
			String scol = sarr[1];

			int row = Integer.parseInt(srow);
			int col = Integer.parseInt(scol);

			char[][] original_array = new char[row][col];
			
		for (int i = 0; i < original_array.length; i++) {
			
		for (int j = 0; j < original_array[i].length; j++) {
			

		//	original_array [i][j]= 
			
			System.out.println(new String());
							
		}	
			
		}	
				
		}	
		
	}
	
	//creating a method to break the string into a character array
	
			static char[] getValues(String str) {
				char [] charr=new char [str.length()];	
				for (int i = 0; i < charr.length; i++) {
				
				charr[i]=str.charAt(i);	
					
				}	
					
					
					return charr;
					
				}

	
	
	public static void main(String[] args) {
		System.out.println("please enter your string");
		Scanner sc = new Scanner(System.in);
		String str = sc.nextLine();
		while (str != null) {

			create_array(str);

			// break_string(str);

			str = sc.nextLine();

		}

	}

	
}
